/*
 * Ex11.h
 *
 *  Created on: Oct 10, 2013
 *      Author: Administrator
 */

#ifndef EX11_H_
#define EX11_H_
#include <iostream>
using namespace std;
class Ex11 {
	double a;
public:
	Ex11();
	virtual ~Ex11();
	Ex11(double a):a(a){}
	Ex11 operator + (const Ex11& b);
	Ex11 operator - (const Ex11& b);
	operator double() const;
	void print()
	{
		cout << a<<endl;
	}
};

#endif /* EX11_H_ */
